﻿create procedure [dbo].[database_create]
	@database_id int out,
	@owner_user_id int,
	@name varchar(50), 
    @connection_string varchar(200)
as
begin
	insert into [dbo].[database]
	values 
	(
		@owner_user_id,
		@name,
		@connection_string
	)
	set @database_id = @@IDENTITY 
end

